<script>
function listener(e) {
  parent.frameState = {
    event: e,
    windowEvent: window.event,
    parentEvent: parent.event
  }
}
</script>
